﻿<Window x:Class="WPFTrees.GroupDlg"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="GroupDlg" Height="301" Width="300">
    <Grid Height="197" Width="278">
        <Grid.RowDefinitions>
            <RowDefinition Height="50"></RowDefinition>
            <RowDefinition Height="50"></RowDefinition>
            <RowDefinition Height="37"></RowDefinition>
            <RowDefinition Height="60*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition></ColumnDefinition>            
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Label Content="Group Name:" Grid.Row="1"  Grid.Column="0" /><TextBox x:Name="txtGroupName" Grid.Row="1" Grid.Column="1" Margin="0,0,0,21" />
        <Label Content="Group Color:" Grid.Row="2"  Grid.Column="0" />
        <Border x:Name="borderGroupColor" Grid.Row="2" Grid.Column="1" Background="Red" Margin="0,0,0,11" />
        <Button x:Name="btnChange" Grid.Row="2" Grid.Column="2" Margin="5,0,12,11" Click="btnChange_Click">Change...</Button>
        <Button Margin="64,15,0,12" Grid.Row="3" IsDefault="True" Click="Button_Click" Grid.ColumnSpan="2" HorizontalAlignment="Left" Width="53">OK</Button>
        <Button Margin="66,15,67,12" Grid.Row="3" Grid.Column="1" IsCancel="True" Grid.ColumnSpan="2" Click="btnCancel_Click">Cancel</Button>
    </Grid>
</Window>

    